package cn.com.czpb.client.model.notepad;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import org.litepal.LitePal;
import org.litepal.annotation.Column;
import org.litepal.crud.DataSupport;
import org.litepal.crud.LitePalSupport;

/**
 * Created by Administrator on 2018/6/21.
 */

public class NotePdeBean extends LitePalSupport implements MultiItemEntity {
    private long id;



    private int type;

    @Column(ignore = false, unique = true, nullable = false)
    private String time;
    private String content;
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }
    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public int getItemType() {
        return type;
    }

    @Override
    public String toString() {
        return "NotePdeBean{" +
                "id=" + id +
                ", type=" + type +
                ", time='" + time + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
